package com.msb.mall.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.common.vo.CommonPageReq;
import com.msb.common.vo.CommonResult;
import com.msb.mall.core.entity.product.BrandEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌
 *
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:56
 */
public interface BrandService extends IService<BrandEntity> {

    PageUtils queryPage(CommonPageReq<Map<String, Object>> req);

    IPage<BrandEntity> findAll(Map<String, Object> params);

    CommonResult saveSingle(BrandEntity brand);

    CommonResult updateSingle(BrandEntity brand);

    void deleteBrand(List<Long> brandIds);
}

